<template>
  <div class="hello">
    <h2>active组件</h2>
	   <ul>
	   		<li v-for="item of activelist">
	   			<input type="checkbox" v-model="item.isChecked"  />
	   			<span>{{item.text}}</span>
	   		</li>
	   	</ul>
  </div>
</template>

<script>
import {mapGetters} from "vuex"
export default {
  name: 'active',
  computed:{
  	...mapGetters(["activelist"])
  }
}
</script>
<style scoped>
 h2{font-size:18px;}
 li{color:blue;padding:3px 0;}
 
</style>
